|
|
|
|
- Closing a file opened several times
- Closing a locked file
<DiskFile variable>.Close (Function) In french: <Variable FichierDisque>.Ferme Syntax
<Result> = <File used>.Close()
<Result>: Integer - 0 is the external file is closed,
- -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant. <DiskFile variable>.Close throws an error if the file is not opened.
<File used>: DiskFile variable Name of the DiskFile variable initialized with .Open or Create.
Remarks Closing a file opened several times The same file can be opened several times simultaneously. Each version of the file must be closed individually via its own identifier. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|